// 订单管理
import request from '@/api/axios'

// 分页获取订单列表
export function getOrderList(data) {
    return request({
        url: '/olda-shunshun-expressage-system-service/bas/user/parcel/pagedQuery',
        method: 'post',
        data
    })
}

// 获取物流信息
export function getOrderProgress(id) {
    return request({
        url: `/olda-shunshun-expressage-system-service/bas/user/parcel/track/${id}`,
        method: 'get'
    })
}


// 获取待补缴订单
export function getBeSupplementedOrder(data) {
    return request({
        url: '/olda-shunshun-expressage-system-service/bas/user/parcel/pageQueryMakeUpMoneyParcel',
        method: 'post',
        data
    })
}


// 获取有退费订单
export function getRefundOrder(data) {
    return request({
        url: '/olda-shunshun-expressage-system-service/bas/user/parcel/pageQueryRefundParcel',
        method: 'post',
        data
    })
}
